home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / WarriorsProgress.sit / Warrior’s Progress / source code / Source / Libraries / Windows / GrayRegion.h < prev    next >
Text File  |  1997-06-28  |  425b  |  29 lines

  1. // GrayRegion.h
  2.  
  3. #ifndef GrayRegion_h
  4. #define GrayRegion_h
  5.  
  6. #ifndef Rectangle_h
  7. #include "Rectangle.h"
  8. #endif
  9.  
  10. class GrayRegion
  11.   {
  12.     private:
  13.         const RgnHandle region;
  14.     
  15.         GrayRegion();
  16.         
  17.         // not implemented:
  18.             GrayRegion( const GrayRegion& );
  19.             void operator=( const GrayRegion& );
  20.     
  21.     public:
  22.         static const GrayRegion& The();
  23.         
  24.         operator RgnHandle() const        { return region; }
  25.         Rectangle Bounds() const;
  26.   };
  27.  
  28. #endif
  29.